package com.xxxx.rpc.mapper;


import com.xxxx.api.pojo.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminMapper {
    /*insert;方法重载*/
    int addUser(@Param("userName") String userName, @Param("phone") String phone,
                @Param("password") String password, @Param("addTime") Integer addTime);
    /*select*/
    Admin queryByUsername(String userName);
    Admin queryByAdminId(Short adminId);
    Admin queryByPhone(String phone);
}